8373945: Use WB.fullGC() in ClassUnloader.unloadClass to force GC for vmTestbase tests#199
8373945: Use WB.fullGC() in ClassUnloader.unloadClass to force GC for vmTestbase tests#199sendaoYan wants to merge 5 commits intoopenjdk:masterfrom
Conversation
…oading after 8373945 Reviewed-by: lmesnik, cjplummer
|
👋 Welcome back syan! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
|
/issue JDK-8375485 |
|
@sendaoYan |
|
@sendaoYan This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
Hi all,
This backport PR contains JDK-8373945 and JDK-8375485. These two PR try to use WB.fullGC() in ClassUnloader.unloadClass to force GC for vmTestbase tests, which will make test more robustness and run more quickly. Some of the tests touched by '8260555: Change the default TIMEOUT_FACTOR from 4 to 1' make this backport uncleanly, and only below 5 files backported uncleanly because of the diffrent copyright year. All other parts are cleanly.
Change has been verifed locally on linux-x64 by run all the releated tests. Test-fix only, no risk.
test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large001/large001.java
test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large002/TestDescription.java
test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large003/TestDescription.java
test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large004/TestDescription.java
test/hotspot/jtreg/vmTestbase/gc/gctests/LargeObjects/large005/TestDescription.java
Related tests list:
199.log
Progress
Issues
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk25u-dev.git pull/199/head:pull/199$ git checkout pull/199Update a local copy of the PR:
$ git checkout pull/199$ git pull https://git.openjdk.org/jdk25u-dev.git pull/199/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 199View PR using the GUI difftool:
$ git pr show -t 199Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk25u-dev/pull/199.diff
Using Webrev
Link to Webrev Comment